<?

include_once "accesscontrol.php";

$qs = "select rTitle from job_seeker_info where uname = \"$_SESSION[uname]\" ";
$rs = mysql_query($qs) or die(mysql_error());
$as = mysql_fetch_array($rs);

if(!empty($as[0]))
{
    echo "<span class=HeaderClass>Post Resume</span><br><br>";

	echo "<br><br><br><br><br><br><center><span class=TNA>You already had posted your resume.<br>If you want to edit it, click <a href=ER1.php class=BlackLink>here </a></span></center>";
}
else
{
?>


<SCRIPT LANGUAGE="JavaScript">

function checkFields() {
missinginfo = "";
if (document.form.rTitle.value == "") {
missinginfo += "\n     -  Resume titie";
document.form.rTitle.focus();
}

if (missinginfo != "") {
missinginfo ="Choose a title for your resume.";
alert(missinginfo);
return false;
}
else return true;
}

</script>

<span class=HeaderClass>Post Resume</span><br><br><br><br>

<table align=center width=600 class=BlackText>
<tr>
	<td>
	There are only three easy steps to build your powerfull resume:
	<ul>
	<li><b> Work experience. </b> Enter all your jobs - previous and presents. Let the employers know what you already done before and let they estimate your experience.</li>
	<li><b> Education. </b> Enter the information about your education. Start from Highschool and finish with the university. You may choose as many education instittution as you need.</li>
	<li><b> Skills. </b> You have some additional skills? They help you to work most successfull and easy to comunicate with people? You must be proud. Let the employers know this. </li>
	</ul>
	</td>
</td>

<tr>
	<td>
	Start building your resume now. Choose the resume title and write a short paragraph about you.
	</td>
</tr>
</tr>
	<td>
	</td>
<tr>
<tr>
<form action=1.php method=post  name=form onSubmit="return checkFields();" enctype="multipart/form-data">
	<td align=left>
	<b>Title </b> (choose a title for your resume, 2 - 3 words)<br>
	<input type=text name=rTitle size=35><br><br>
	</td>
</tr>

<tr>
<td align=left>
	<b><label for="images">Photo:</label></b><br>
		<input type=file name="images" id="images"><br><br>
</tr>

<tr>
	<td align=left>
	<b>Introduce yourself to the employers</b>
	 (a short paragraph about you) <br>
	<textarea cols=46 rows=4 name=rPar></textarea><br><br>
	</td>
</tr>

<tr>
	<td align=left>
	<b>Availability employment</b><br>
	<select name=emp>
		<option value="Immediately">Immediately</option>
		<option value="1 month to 3 months">1 month to 3 months</option>
		<option value="4 month to 7 months">4 month to 7 months</option>
		<option value="8 month to 1 year">8 month to 1 year</option>
		<option value="More than 1 year">More than 1 year</option>
	</select><br><br><br><br>
	</td>
</tr>

<tr><td align=center><input type=submit value="Go to Step 1 (Work experience)"></td></tr>
</form>
</table>	

<?
}
?>
<? include_once('../footer.php'); ?>